<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Alarm Viewer</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  <link href="system/styles/igrX.css" rel="stylesheet" type="text/css" />
  <style type="text/css">

	.cp-table {
		min-width: 800px;
	}
	.alarm-table {
		min-width: 800px;
	}

    </style>
</head>
<body>
<div class="alarm" id="rtalarm"></div>
</body>
<script type="text/javascript" src="system/scripts/igrX.js"></script>
<script type="text/javascript">
var opt = {
    "mode": "alarm",
    "row-per-page": 30,
	"order": "state", // "state" or "timestamp"
    "column": {
        "time_stamp": true,
        "tag_name": false,
        "group_name": true,
        "description": false,
        "message": true,
        "nvalue": true,
        "old_nvalue": true,
        "svalue": false,
        "old_svalue": false,
        "inactive_timestamp": true,
        "ack_timestamp": true,
        "ack_user": false
    }
};

var alrm = igrx.alarm( document.getElementById('rtalarm'), opt);
</script>
</html>
